import {REFRESH_PUBLISHERS} from '../constant/action-type'

const initState = [
  {
    id: 1,
    userId: 1,
    organizationId: 1,
    authorizerId: 1,
    createTime: '2019-05-12'
  }
]

export default (state = initState, action) => {
  switch (action.type) {
    case REFRESH_PUBLISHERS:
      return action.data
    default:
      return state
  }
}
